<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="进行中采样任务" name="1">
        <processSampleListEnable />
      </el-tab-pane>
      <el-tab-pane label="已暂停采样任务" name="2">
        <processSampleListStop />
      </el-tab-pane>
      <el-tab-pane label="历史采样任务" name="3">
        <hisSampleList />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import processSampleListEnable from './index_sampleListEnable.vue'
import processSampleListStop from './index_sampleListStop.vue'
import hisSampleList from './index_sampleListHis.vue'
export default {
  components: { processSampleListEnable, processSampleListStop, hisSampleList },
  data() {
    return {
      activeName: '1'
    }
  },
  methods: {
    handleClick() {}
  }
}
</script>
